// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "UI/Core/RuleWidget.h"
#include "UI_SelectLevelMain.generated.h"

class UUI_LevelButton;
class UCanvasPanel;
class UButton;
/**
 * 
 */
UCLASS()
class TF_20240717_API UUI_SelectLevelMain : public URuleWidget
{
	GENERATED_BODY()

public:
	virtual void NativeConstruct() override;
	
	UFUNCTION()
	void ReturnMenu();

protected:
	void InitSelectLevelButton();

	

private:
	TArray<UUI_LevelButton*> AllLevelButton;
	
	UPROPERTY(meta=(BindWidget))
	UButton* ReturnMenuButton;

	UPROPERTY(meta=(BindWidget))
	UCanvasPanel* SelectMap;
	
};
